In computer networking
, '''localhost''' is a Name resolution (computer systems)|hostname
that means ''this computer''. It is used to access the network services that are running on the host via its loopback
network interface. Using the loopback interface bypasses any local Network interface controller|network interface
The local loopback mechanism is useful for testing software during development, independently of any networking configurations. For example, loopback may be used to direct a locally running web browser
to display a local html file.
On most computer systems, ''localhost'' resolves to the IP address
127.0.0.1, which is the most commonly used IPv4
loopback address, and to the IPv6
loopback address ::1.
The name ''.localhost|localhost
'' is also a reserved top-level domain|top-level domain name
, set aside to avoid confusion...